import Vue from 'vue'
import App from './App.vue'
import momentMini from 'moment-mini'
import store from '@/store'
import axiosReq from '@/utils/axiosReq'
import dataDillUtil from '@/utils/dataDillUtil'
import router from './router'

// permission control
import './permission'

// svg icon
import './icons'
/* 全局混合*/
import globolMixins from '@/mixins/globolMixins'
Vue.mixin(globolMixins)

//rem适配
import 'amfe-flexible/index.js'
import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);
//样式引入的重置样式
import '@/styles/common.scss'
import '@/styles/kh-customer.scss'
import '@/styles/reset.scss'
import '@/styles/reset-vant-style.scss'

// 富文本编辑器
import '@/components/TinymceKH'

//axios请求接口
Vue.prototype.$axiosReq = axiosReq
Vue.prototype.$momentMini = momentMini
Vue.prototype.$dataDillUtil = dataDillUtil

Vue.config.productionTip = false


new Vue({
  store,
  router,
  render: h => h(App)
}).$mount('#app')
